﻿using CodeNotes.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace MvcCodeNotes.Models
{
    public class ApiMusicData
    {
        public string version { get; set; }
        public List<CW_Music> list { get; set; }
    }
    public class ShowapiModel
    {
        public string showapi_res_code { get; set; }
        public string showapi_res_error { get; set; }
        public ApiBodyModel showapi_res_body { get; set; }
    }

    public class ApiBodyModel
    {
        public string ret_code { get; set; }
        public PagebeanModel pagebean { get; set; }
        public List<JokeModel> contentlist { get; set; }
    }

    public class PagebeanModel
    {
        public List<SongModel> songlist { get; set; }
        public List<SongModel> contentlist { get; set; }
        public string total_song_num { get; set; }
        public string ret_code { get; set; }
        public string update_time { get; set; }
        public string color { get; set; }
        public string cur_song_num { get; set; }
        public string comment_num { get; set; }
        public string code { get; set; }
        public string currentPage { get; set; }
        public string song_begin { get; set; }
        public string totalpage { get; set; }

    }

    public class SongModel
    {
        public int albumid { get; set; }
        public string albummid { get; set; }
        public string albumpic_big { get; set; }
        public string albumpic_small { get; set; }
        public string downUrl { get; set; }
        public int seconds { get; set; }
        public int singerid { get; set; }
        public string singername { get; set; }
        public int songid { get; set; }
        public string songname { get; set; }
        public string url { get; set; }
        public string m4a { get; set; }

        //以下是笑话字段
        public string text { get; set; }
        public string hate { get; set; }
        public string videotime { get; set; }
        public string voicetime { get; set; }
        public string weixin_url { get; set; }
        public string profile_image { get; set; }
        public string width { get; set; }
        public string voiceuri { get; set; }
        public string type { get; set; }
        public string id { get; set; }
        public string love { get; set; }
        public string height { get; set; }
        public string video_uri { get; set; }
        public string voicelength { get; set; }
        public string name { get; set; }
        public string image0 { get; set; }
        public string image1 { get; set; }
        public string image2 { get; set; }
        public string image3 { get; set; }
        public string create_time { get; set; }
    }

    public class JokeModel
    {
        public string id { get; set; }
        public string title { get; set; }
        public string text { get; set; }
        public string img { get; set; }
        public string type { get; set; }
        public string ct { get; set; }
    }

    public class BudejieModel
    {
        public string text { get; set; }
        public string hate { get; set; }
        public string videotime { get; set; }
        public string voicetime { get; set; }
        public string weixin_url { get; set; }
        public string profile_image { get; set; }
        public string width { get; set; }
        public string voiceuri { get; set; }
        public string type { get; set; }
        public string id { get; set; }
        public string love { get; set; }
        public string height { get; set; }
        public string video_uri { get; set; }
        public string voicelength { get; set; }
        public string name { get; set; }
        public string image0 { get; set; }
        public string image1 { get; set; }
        public string image2 { get; set; }
        public string image3 { get; set; }
        public string create_time { get; set; }
    }


    public class CookModel
    {
        public string id { get; set; }
        public string cpName { get; set; }
        public string type { get; set; }
        public string des { get; set; }
        public string tip { get; set; }
        public string largeImg { get; set; }
        public string smallImg { get; set; }
        public List<CookYlModel> yl { get; set; }
        public List<CookStepModel> steps { get; set; }
    }

    public class CookStepModel
    {
        public string orderNum { get; set; }
        public string imgUrl { get; set; }
        public string content { get; set; }
    }

    public class CookYlModel
    {
        public string ylName { get; set; }
        public string ylUnit { get; set; }        
    }
}